package com.th.supcom.pds.common.enums;

/**
 * 是、否、可用、不可用、有、没有等状态
 * 
 * @author yangchong
 */
public enum StockEnoughEnum
{
    /**
     * 是(value=1)
     */
    YES (1, "是"),
    /**
     * 否(value=0)
     */
    NO (0, "否");
    private Integer m_code;
    private String m_name;

    private StockEnoughEnum (Integer code, String name)
    {
        this.m_code = code;
        this.m_name = name;
    }

    public Integer getEnumCode ()
    {
        return this.m_code;
    }

    public String getEnumName ()
    {
        return this.m_name;
    }

}
